const net/http.sniffLen
6 uses
net/http (current package)
fs.go#L240: var buf [sniffLen]byte
server.go#L596: n0, err := io.CopyBuffer(writerOnly{w}, io.LimitReader(src, sniffLen), buf)
server.go#L598: if err != nil || n0 < sniffLen {
sniff.go#L13: const sniffLen = 512
sniff.go#L22: if len(data) > sniffLen {
sniff.go#L23: data = data[:sniffLen]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |